package top.oauth2.sms.service.impl;

import org.springframework.stereotype.Service;
import top.oauth2.sms.service.SmsService;

/**
 * @author xphu
 * @version 1.0
 * @date 2021/9/16 12:22
 */
@Service("aliSmsService")
public class AliSmsServiceImpl implements SmsService {
    /**
     * 发送短信验证码
     *
     * @param phone      手机号
     * @param codeLength 短信code长度
     * @param templateId 短信模板id
     * @author xphu
     * @date: 2021/9/16 10:11
     */
    @Override
    public boolean sendSmsCode(String phone, Integer codeLength, String templateId) {
        return false;
    }

    /**
     * 验证短信验证码
     *
     * @param phone      手机号
     * @param code       验证码
     * @param templateId
     * @author xphu
     * @date: 2021/9/16 10:11
     */
    @Override
    public boolean sendSmsCode(String phone, String code, String templateId) {
        return false;
    }
}
